home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / dhtmlunl / dhtml.exe / CD Content / Chap16 / dun16_9.txt < prev    next >
Encoding:
Text File  |  1997-12-18  |  381 b   |  16 lines

  1. function confirmExit()
  2.  
  3. {
  4.  
  5.   if (!orderSubmitted)
  6.  
  7.   {
  8.  
  9.     message = "";
  10.  
  11.     message += "You have not yet completed your order. Leaving ";
  12.  
  13.     message += "this page without pressing the order button will ";
  14.  
  15.     message += "result in an incomplete order which WILL NOT be ";
  16.  
  17.     message += "processed.";
  18.  
  19.  
  20.  
  21.     return message;
  22.  
  23.   }
  24.  
  25.   else
  26.  
  27.     return null;
  28.  
  29. }
  30.  
  31.